package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.entity.NewsComment;

/**
 * @author 10537
 * @version V1.0
 * @Date 2021/10/6 11:34
 */

public interface NewsCommentService {
    /**
     * 通过新闻ID查找评论
     * @param newsId
     * @return
     */
    PageInfo<NewsComment> findByNewsId(Integer page,Integer orws,Integer newsId);

    void add(NewsComment newsComment);

    void removeByNewsId(Integer newsId);
}
